package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.template.TravelTemplate;

import java.util.List;

public interface TravelTemplateSearchService {

    void saveOrUpdate(TravelTemplate travel);

    /**
     * 根据目的地名称查询游记
     *
     * @param destName 目的地的名称
     * @return
     */
    List<TravelTemplate> queryByDestName(String destName);
}
